import { createRouter, createWebHistory } from 'vue-router'
import Login from '../views/login/Login.vue'
import Main from '../views/main/Main.vue'

const routes = [
  {
    path: '/',
    component: Login,
  },
  {
    path: '/main',
    component: Main,
  },
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})

export default router
